package com.example.module_home.api

import com.example.lib_base.BaseResponse
import com.example.module_home.entity.CommentEntity
import com.example.module_home.entity.RecommendVideoEntity
import org.w3c.dom.Comment
import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApiService {
    @GET("/videomulti/getRecommendMutilVideo")
    suspend fun getRecommendVideo(@Query("page") page:Int,@Query("pagesize") size:Int):BaseResponse<List<RecommendVideoEntity>>
    @GET("/comment/getCommentByUserId")
    suspend fun getComment(@Query("datatype") type:Int,@Query("itemid") id:String):BaseResponse<List<CommentEntity>>
}